let de = {
    mapStort:false
}

export default (state = de,action)=>{
    let newstart = JSON.parse(JSON.stringify(state))
    switch(action.type){
        case'IMBIBITION':
        newstart.mapStort = action.payload
        // console.log(newstart.mapStort)
        break;
        case'quanx':
        newstart.mapStort = !newstart.mapStort;
        break
    }
    return newstart
}